package com.cndw.kungfu.model.pvp.camp;

public class CampConfig {
	/**
	 * 活动开始时间
	 */
	public static final int startTime = 16 * 3600 + 1800;
	/**
	 * 活动周期
	 */
	public static final int campLifeTime = 1800;
	/**
	 * 参加最低等级
	 */
	public static final int applyLevel = 40;
	/**
	 * 等级阶段
	 */
	public static final int[] levelOrder = { 0, 40, 61, 91 };
	/**
	 * 战场系数
	 */
	public static final int[] awardCoefficient = { 0, 300, 1000, 3000 };
	/**
	 * 鼓舞一次需要的元宝
	 */
	public static final int buffGold = 10;
	
	/**
	 * 获取我的战场区域
	 * @param level
	 * @return
	 */
	public static int getArea(int level) {
		if (level < levelOrder[2]) {
			return 1;
		} else if (level < levelOrder[3]) {
			return 2;
		} else {
			return 3;
		}
	}

}
